package com.dongdongshop.domain.rep;


import com.dongdongshop.data.PageBean;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

/**
* 规格表
* @TableName tb_specification
*/
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(description ="规格管理时接收的参数" )
public class SpecificationReq extends PageBean{

    /**
    * 主键
    */
    @ApiModelProperty("主键")
    private Long id;

    /**
    * 名称
    */
    @ApiModelProperty("名称")
    private String specName;


    @ApiModelProperty("规格选项的属性")
    private List<SpecificationOptionReq> specOption=new ArrayList<>();
}
